package com.yh.wcx.mapper;

import com.yh.wcx.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StudentMapper {
    Student queryStudentById(@Param("id") Long id);
    int updateStudentById(Student student);
    int delStudentById(@Param("id") Long id);
    Long insertStudent(Student student);
    Student queryStudentWithCourses(@Param("id") Long id);

}
